package com.xmut.mall.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@TableName("manager_menu")
public class MenuEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private String description; //说明备注

    private String frontRoute; //前端路由

    private String icon; // 土逼爱

    private Integer level; // 层级

    private String name; // 名字

    private Long parentId; // 父id

    private String path; // 赋权API地址,正则表达式

    private BigDecimal sortOrder; //排序值

    private String title; //菜单标题

    private String frontComponent; // 文件地址

    private String permission; //权限url

    private String createBy; //创建者

    private String createTime; //创建时间
}
